Repository navigation
Make unstable WASI-p2 OS-string conversions opt-in - #72
Merged
Merged
Conversation
NZBMan
added a commit
to scryer-media/scryer-plugins
that referenced
this pull request
Oct 17, 2026
Clears RUSTSEC-2026-0367, RUSTSEC-2026-0368 and RUSTSEC-2026-0369. zip 9 depends on typed-path, whose 0.12.3 release enables feature(wasip2) unconditionally and so fails the wasm32-wasip2 build on stable. typed-path is patched to upstream main plus chipsenkbeil/typed-path#72, which makes that feature opt-in, until a release carries the fix. Test fixtures unwrap with_deprecated_encryption, which returns a Result in zip 9. Bumps the plugin to 1.1.3.
Owner
|
Thanks for tracking this down and putting the fix together! Putting the p2 conversions behind an opt-in feature seems like the right call until |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a non-default
nightly-wasip2feature and gates both the unstable crate attribute (feature(wasip2)) and the fourstd_conversionsmodules that needstd::os::wasi::ffibehind it fortarget_env = "p2". Stable portable path operations, and behavior on every other target, are unchanged; WASI-p2 builds on stable no longer need a nightly compiler, while the nightly OS-string conversions stay available behind the feature. This deliberately does not claim to stabilize the std WASI-p2 extension traits.Verified with the repro from #71:
cargo +1.96 check --target wasm32-wasip2fails with E0554 on 0.12.3 and passes with this change;cargo teston the host is unchanged.Fixes #71